.class Lcom/htc/android/footprints/activity/ListModeNewActivity$3;
.super Ljava/lang/Object;
.source "ListModeNewActivity.java"

# interfaces
.implements Lcom/htc/android/footprints/utils/StorageUtil$OnChangeStorageListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/htc/android/footprints/activity/ListModeNewActivity;->onCreate(Landroid/os/Bundle;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/htc/android/footprints/activity/ListModeNewActivity;


# direct methods
.method constructor <init>(Lcom/htc/android/footprints/activity/ListModeNewActivity;)V
    .locals 0
    .parameter

    .prologue
    .line 223
    iput-object p1, p0, Lcom/htc/android/footprints/activity/ListModeNewActivity$3;->this$0:Lcom/htc/android/footprints/activity/ListModeNewActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onStorageChanged(I)V
    .locals 4
    .parameter "state"

    .prologue
    const-string v3, "DATA"

    .line 230
    invoke-static {}, Lcom/htc/android/footprints/utils/StorageUtil;->hasExternalStorage()Z

    move-result v1

    if-nez v1, :cond_0

    .line 231
    new-instance v0, Landroid/content/Intent;

    const-string v1, "SDCardConfirmDialog"

    invoke-direct {v0, v1}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    .line 232
    .local v0, intent:Landroid/content/Intent;
    invoke-static {}, Lcom/htc/android/footprints/utils/StorageUtil;->isMediaShared()Z

    move-result v1

    if-eqz v1, :cond_1

    .line 233
    const-string v1, "DATA"

    iget-object v1, p0, Lcom/htc/android/footprints/activity/ListModeNewActivity$3;->this$0:Lcom/htc/android/footprints/activity/ListModeNewActivity;

    invoke-virtual {v1}, Lcom/htc/android/footprints/activity/ListModeNewActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f0a00a3

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v3, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 240
    :goto_0
    iget-object v1, p0, Lcom/htc/android/footprints/activity/ListModeNewActivity$3;->this$0:Lcom/htc/android/footprints/activity/ListModeNewActivity;

    invoke-virtual {v1, v0}, Lcom/htc/android/footprints/activity/ListModeNewActivity;->startActivity(Landroid/content/Intent;)V

    .line 242
    .end local v0           #intent:Landroid/content/Intent;
    :cond_0
    return-void

    .line 236
    .restart local v0       #intent:Landroid/content/Intent;
    :cond_1
    const-string v1, "DATA"

    iget-object v1, p0, Lcom/htc/android/footprints/activity/ListModeNewActivity$3;->this$0:Lcom/htc/android/footprints/activity/ListModeNewActivity;

    invoke-virtual {v1}, Lcom/htc/android/footprints/activity/ListModeNewActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f0a0068

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v3, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    goto :goto_0
.end method
